Spread Windows Forms 15.0
GrapeCity.Spreadsheet Assembly / GrapeCity.Spreadsheet.Commands Namespace / CommandResult Structure / CommandResult Constructor / CommandResult Constructor(Boolean,CommandActions,Worksheet,Reference[])
The command is executed successful
The action that should be handled after the command is executed
The worksheet processed by the command
The selections that were modified by the command


In This Topic
    CommandResult Constructor(Boolean,CommandActions,Worksheet,Reference[])
    In This Topic
    Initializes static members of the CommandResult struct.
    Syntax
    'Declaration
     
    
    Public Function New( _
       ByVal success As Boolean, _
       ByVal commandAction As CommandActions, _
       ByVal worksheet As Worksheet, _
       ByVal selections() As Reference _
    )
    'Usage
     
    
    Dim success As Boolean
    Dim commandAction As CommandActions
    Dim worksheet As Worksheet
    Dim selections() As Reference
     
    Dim instance As New CommandResult(success, commandAction, worksheet, selections)

    Parameters

    success
    The command is executed successful
    commandAction
    The action that should be handled after the command is executed
    worksheet
    The worksheet processed by the command
    selections
    The selections that were modified by the command
    See Also